<html>
    <head>
        <link href="../style/powerhua/workflow/design-workflow.css" type="text/css" rel="stylesheet"/>
        <script type="text/javascript" src="../style/jquery/jquery-1.2.6.js"></script>
        <script type="text/javascript" src="../style/powerhua/commons.js"></script>
        <script type="text/javascript" src="../style/powerhua/platform/systable/systable.js"></script>
        <script type="text/javascript">
            function xx() {
                var tb = new SysGrid();
                var header = [
                    {width:100, align:'left', label:'名称'},
                    {align:'left', label:'内容', width:150},
                    {align:'left', label:'描述'},
                    {align:'left', label:'动作', width: 50, type: "link"}
                ];
                var tbConfig = {url: 'demo.txt', imgRelateLoc: '../style/powerhua/platform/systable/default_skin/images/', width: 800, height: 400};
                tb.init("XsysTable", header, tbConfig);

                /*
                 * 数据格式
                 * 第一行：[每页显示条数，页码，总页数，开始条数，结束条数，总条数]
                 * 第二行开始为数据内容
                 */
                var tb1 = new SysGrid();
                var tbConfig1 = {url: 'demo1.txt', imgRelateLoc: '../style/powerhua/platform/systable/default_skin/images/', width: 600, height: 200};
                tb1.init("XsysTableX", header, tbConfig1);


                $.get(tb.dataUrl, {}, function(result) {
                    tb.ajaxCall(result);
                });

                $.get(tb1.dataUrl, {}, function(result) {
                    tb1.ajaxCall(result);
                });
            }

            window.onload = xx;


        </script>
    </head>
    <body>
        <div id="XsysTable" style="overflow:hidden;">
        </div>
        <p></p>
        <div id="XsysTableX" style="overflow:hidden;"></div>
        <br>
        <br>
            <input type="checkbox" name="demo" value="ON" />
    </body>
</html>